package com.link2room.optimus.dto.param.inside;

import com.link2room.common.dto.param.base.BaseL2rParamDto;
import com.link2room.common.util.DateUtil;

import java.util.Date;

/**
 * Created by sss on 2016/9/19.
 */
public class BookStockInsideParamDto extends BaseL2rParamDto {
    /**
     * 入住时间
     */
    private String checkInDatetime;
    /**
     * 离店时间
     */
    private String checkOutDatetime;
    /**
     * 入住时间(时间格式)
     */
    private Date checkInDate;
    /**
     * 离店时间(时间格式)
     */
    private Date checkOutDate;
    private String mcdCode;
    private Integer rmNum=1;
    private String memberLevel;
    private String pbChannel;
    private String isUsePoint;

    public String getCheckInDatetime() {
        return checkInDatetime;
    }

    public void setCheckInDatetime(String checkInDatetime) {
        this.checkInDatetime = checkInDatetime;
        setCheckInDate(DateUtil.parseDateNewFormat(checkInDatetime));
    }

    public String getCheckOutDatetime() {
        return checkOutDatetime;
    }

    public void setCheckOutDatetime(String checkOutDatetime) {
        this.checkOutDatetime = checkOutDatetime;
        setCheckOutDate(DateUtil.parseDateNewFormat(checkOutDatetime));
    }

    public Date getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    public Date getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    public String getMcdCode() {
        return mcdCode;
    }

    public void setMcdCode(String mcdCode) {
        this.mcdCode = mcdCode;
    }

    public Integer getRmNum() {
        return rmNum;
    }

    public void setRmNum(Integer rmNum) {
        this.rmNum = rmNum;
    }

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getPbChannel() {
        return pbChannel;
    }

    public void setPbChannel(String pbChannel) {
        this.pbChannel = pbChannel;
    }

    public String getIsUsePoint() {
        return isUsePoint;
    }

    public void setIsUsePoint(String isUsePoint) {
        this.isUsePoint = isUsePoint;
    }
}
